home *** CD-ROM | disk | FTP | other *** search
Text File | 1988-04-08 | 25.0 KB | 735 lines | [TEXT/ttxt] |
- 29-Sep-87 10:45:45-PDT,26248;000000000001
- Date: Fri 18 Sep 87 09:32:54-EDT
- From: Jeff Shulman <SHULMAN@SDR>
- Subject: Usenet Mac Digest V3 #71
-
- Usenet Mac Digest Thursday, September 17, 1987 Volume 3 : Issue 71
-
- Today's Topics:
- Problem running SuperSpool and Professional Composer?
- Re: Printing under Hypercard
- Re: 68030 in MacII
- Re: LightSpeed Pascal Problem
- Re: any assembler other than MPW?
- Re: Printing under Hypercard
- Avoiding menu metacharacters
- Button hilighting in HyperTalk
- MacKermit on an SE (and II?) (2 messages)
- ParamText Question
- Laserwriter streaks
- Filemaker+ meets Laserwriter 4.0? (also ready set go 4.0)
- Re: ParamText Question
- Re: 68030 in MacII
- Beta particle counter
- Graphics tablets
- Re: New master pointer query.
- Anyone Have ROvr 0? (Was Replacing system fonts)
- Re: Button hilighting in HyperTalk (2 messages)
- Re: Avoiding menu metacharacters
- Desktop Drawing
- Getting a windows position
-
- ----------------------------------------------------------------------
-
- From: jlc@atux01.UUCP (J. Collymore)
- Subject: Problem running SuperSpool and Professional Composer?
- Date: 11 Sep 87 20:55:55 GMT
- Organization: AT&T CSEd/CET, Piscataway, N.J.
-
- Recently, I purchased SuperMac Software's SuperSpool 3.4 for the
- Imagewriter. I found out to my chagrin, however, that whenever I ran
- off scores or musical parts on Mark of the Unicorn's "Professional
- Composer" (Prof. Comp.) I would get this hideous gobbledygook instead of
- musical notation. (This also happened with the 4.0 upgrade.) I was then
- forced to turn off the spooler and THEN print out my music. If any of
- you use your Macs for music processing, you know that printing out even
- a one-page piece can lock up your Mac for ~5 minutes. If you have more
- than one page of music you can kiss your productivity good-bye! You'll
- be waiting a long time for that stuff to print before you can get back
- to your other work on the computer. It was to avoid this very situation
- that I bought the print spooler in the first place!
-
- Well, after several letters and phone calls to Unicorn, and SuperMac,
- the problem was solved.
-
- Answer: The tech at Supermac told me that when SuperSpool runs it looks
- for the necessary fonts in the SYSTEM file, NOT in the APPLICATION's
- file. Since the music fonts are only in Prof. Comp., SuperSpool doesn't
- know what to do, so it tries to make-do with other fonts in the System
- file. What you need to do to correct this is to load the Prof. Comp.
- music fonts into your System. They had me do this:
-
- ================================================================================
- WARNING: If you have ANY questions or concerns about performing this procedure,
- call the techs at SuperMac, (415) 964-9694, BEFORE you try this.
- ================================================================================
-
- 1) Make sure your Prof. Comp. application is loaded onto the Mac.
- NOTE: To be on the safe side, if you're using a floppy, lock it.
-
- 2) Open up your Font/DA Mover and be sure you're set for "fonts."
-
- 3) Hold down your command and option keys while you click on "Open" on the
- other side of the screen.
-
- 4) Continue to hold the option and command keys down while you make your
- way to your Prof. Comp. application. (You may need to pull down the menu
- at the top of "Open" screen, (that's the little icon that says what folder
- you're currently in) to get to your Prof. Comp. application.)
-
- 5) Once you see Prof. Comp. on the list, select it and open it. You should
- see two music fonts there: music 24 and music 48.
-
- 6) Release the option and command keys.
-
- 7) Click on music 24.
- NOTE: The "Copy" button arrows should be pointing over to your System file
- where all your other standard alpha-numeric fonts are stored.
-
- 8) Click on the "Copy" button.
-
- 9) Once the copy/transfer is complete, repeat the process with the font
- music 48.
-
- 10) Once this is complete you can quit the Font/DA Mover.
-
- 11) Start SuperSpool running (if you haven't already).
-
- 12) Try printing out one of your musical works. Things should work fine.
-
- I hope this helps some of you.
-
-
- Jim Collymore
-
-
- ------------------------------
-
- From: keith@apple.UUCP (Keith Rollin)
- Subject: Re: Printing under Hypercard
- Date: 12 Sep 87 04:21:49 GMT
- Organization: Apple Computer Inc., Cupertino, USA
-
- I haven't verified that this is a bug, but if it is, try this stack
- script:
-
- on OpenStack
- set lockscreen to true
- domenu "Print Stack..." -- bring up the print stack dialog
- type return -- put dialog box away
- set lockscreen to false
- end OpenStack
-
- I have a feeling that the lockscreen will not prevent the dialog box
- from appearing, but I can't check it out right now.
-
- Keith Rollin
- Sales Tech Support
- Apple Computer
-
- Disclaimer: Any kludges I present here are my own, and do not necessarily
- represent the kludges of my employer.
-
- ------------------------------
-
- From: jww@sdcsvax.UCSD.EDU (Joel West)
- Subject: Re: 68030 in MacII
- Date: 12 Sep 87 17:15:25 GMT
- Organization: Palomar Software, Inc., Vista, CA
-
-
- The pin-outs of a 68882 match the 68881, so, theoretically, you can pop
- it out. But no, the 030 and 020 are not pin-compatible, so I have no
- idea what they were talking about.
- --
- Joel West (c/o UCSD)
- Palomar Software, Inc., P.O. Box 2635, Vista, CA 92083
- {ucbvax,ihnp4}!sdcsvax!jww jww@sdcsvax.ucsd.edu
- or ihnp4!crash!palomar!joel joel@palomar.cts.com
-
-
- ------------------------------
-
- From: florman@randvax.UUCP (Bruce Florman)
- Subject: Re: LightSpeed Pascal Problem
- Date: 11 Sep 87 22:40:33 GMT
- Organization: Rand Corp., Santa Monica
-
- I too have run into this problem more than once. It stems from
- Lightspeed's definition of the INTEGER type being -MaxInt..MaxInt, where
- MaxInt = 32767. This is documented on page 19 of the reference manual,
- and is actually in conformance with the ANSI Standard Pascal, where the
- other major Pascals for the Mac are not. So Think probably considers
- this to be a "feature" rather than a bug. The solution is to turn off
- overflow checking for the offending statements with the $V compiler
- directive.
-
- {$V-}
- foo := $8000 ; {set high bit -- value is -32768}
- {$V+}
-
- It is interesting to note that the documentation for the $V option, on
- page 13-3 of the manual, erroneously states the range of INTEGER to be
- -32768 to +32767. This is the range for MPW, TML and Turbo, but not for
- Lightspeed.
-
-
- PS. Think has recently posted an update (version 1.1A or something) to
- a number of networks. I haven't seen it yet, but it may fix this
- problem.
-
- --
- ========================================================================
- florman@rand-unix.ARPA
- {decvax,sdcrdcf,trwrb,trwspf,vortex}!rand-unix!gnu!florman
-
- "There is no limit to the amount of good that people can accomplish,
- if they don't care who gets the credit."
- - Anonymous
-
-
- ------------------------------
-
- From: jww@sdcsvax.UCSD.EDU (Joel West)
- Subject: Re: any assembler other than MPW?
- Date: 12 Sep 87 17:38:29 GMT
- Organization: Palomar Software, Inc., Vista, CA
-
-
- Mainstay (the people now doing VIP) started with an assembler, which I
- believe was McAsm. One local Mac wizard swears by it.
- --
- Joel West (c/o UCSD)
- Palomar Software, Inc., P.O. Box 2635, Vista, CA 92083
- {ucbvax,ihnp4}!sdcsvax!jww jww@sdcsvax.ucsd.edu
- or ihnp4!crash!palomar!joel joel@palomar.cts.com
-
-
- ------------------------------
-
- From: winkler@apple.UUCP (Dan Winkler)
- Subject: Re: Printing under Hypercard
- Date: 12 Sep 87 20:09:53 GMT
- Organization: Apple Computer Inc., Cupertino, USA
-
- In HyperCard 1.0.1, there is no way for a script to respond to a
- printing dialog or to any other kind of dialog for that matter. Whenever
- a script does something that puts up a dialog, HyperCard enters a tight
- loop waiting for the user to respond to it. Thus, scripts that do batch
- jobs must never do anything that brings up a dialog or else they will
- hang waiting for user input.
-
- We realize it would be better if scripts could respond to dialog boxes
- or prevent them from being displayed at all, and we are looking at ways
- to provide that ability in the next release.
-
- Dan.
-
-
- ------------------------------
-
- From: betz@runx.ips.oz (Andrew Betzis)
- Subject: Avoiding menu metacharacters
- Date: 11 Sep 87 13:38:32 GMT
- Organization: RUNX Un*x Timeshare. Sydney, Australia.
-
-
- Is there any way of displaying the AppendMenu() metacharacters (^ ! < /
- ( ) in a menu.
-
- :-) & thanks,
- andrew betzis
-
- ACSnet: betz@runx.ips.oz JANET: runx.ips.oz!betz@ukc
- ARPA: betz%runx.ips.oz@uunet.uu.net CSNET: betz@runx.ips.oz
- UUCP: {enea,hplabs,mcvax,prlb2,uunet,ubc-vision,ukc}!munnari!runx.ips.oz!betz
-
- ------------------------------
-
- From: kdmoen@watcgl.waterloo.edu (Doug Moen)
- Subject: Button hilighting in HyperTalk
- Date: 13 Sep 87 05:10:04 GMT
- Organization: U of Waterloo, Ontario
-
- I'm working on a HyperCard database intended to be used by people with
- no knowledge of computers or Macintoshes. I've found that causing
- buttons to highlight when the cursor moves over them makes the user
- interface much more intuitive.
-
- This turns out to be easy to do in HyperTalk. You simply include the
- following code in each button script:
- on mouseEnter
- set hilite of the target to true
- end mouseEnter
-
- on mouseLeave
- set hilite of the target to false
- end mouseEnter
-
- Here's my problem. I prefer not to edit the script of every single
- button in my database to add this code. I have tried putting the code
- into the stack script, where it will be inherited by every button in the
- stack. This works, but unfortunately, it also gets inherited by fields,
- which is not what I want. Any suggestions?
- --
- Doug Moen
- University of Waterloo Computer Graphics Lab
- UUCP: {ihnp4,watmath}!watcgl!kdmoen
- INTERNET: kdmoen@cgl.waterloo.edu
-
-
- ------------------------------
-
- From: stamr@unc.cs.unc.edu (Robert B. Stam)
- Subject: MacKermit on an SE (and II?)
- Date: 13 Sep 87 16:39:24 GMT
- Organization: CS Dept., U. of N. Carolina, Chapel Hill
-
-
- In a recent posting I commented that I was not able to get MacKermit to
- run correctly on my Mac SE, and that it seemed to be a problem with
- fonts. A local insightful chap suggested that MacKermit as delivered
- from columbia might not have a FOND resource. In fact it does not (this
- is true of both ckmker.hqx and xkmker.hqx). The fix is as follows:
-
- 1) Make a copy of MacKermit.
- 2) Run Font/DA mover
- 3) Close the system file fromt the left window
- 4) Click the left Open button with the option key down (the option key tells
- it to open all kinds of files, like MacKermit)
- 5) Find and open the original copy of MacKermit
- 6) Click the right Open button with the option key down
- 7) Find and open the duplicate copy of MacKermit
- 8) Select and remove the 2 fonts (VT100 etc...) from the right hand window
- (ie, from the copy of MacKermit)
- 9) Select and copy the 2 fonts (VT100 etc...) from the left hand window, thus
- copying the 2 fonts from the original copy of MacKermit to the
- duplicate copy of MacKermit
- 10) Close everything and quit. MacKermit should now work.
-
- This is not quite the NOP operation it looks like. When Font/DA mover
- moves a font it looks to see if the destination has the appropriate FOND
- resource, and if not it adds it.
-
- Many thanks to Oliver Steele of UNC who guessed what the problem was and
- suggested that I look for the FOND.
-
- Happy Kermitting ...
-
- --
- Robert B. Stam CSNET: stamr@unc.cs.unc.edu
- UNC Computer Science Department ARPA: stamr%unc@mcnc.org
- Sitterson Hall 083A UUCP: {ihnp4|decvax}!mcnc!unc!stamr
- Chapel Hill, NC 27514 Phone: (919) 962-1826
-
-
- ------------------------------
-
- From: stamr@unc.cs.unc.edu (Robert B. Stam)
- Subject: Re: MacKermit on an SE (and II?)
- Date: 13 Sep 87 16:46:02 GMT
- Organization: University of North Carolina, Chapel Hill
-
- To be precise: The Copy of MacKermit should now work. The original
- MacKermit is untouched. You will probably want to trash (you have a
- backup, right?) the original MacKermit, and rename the copy.
-
-
- ------------------------------
-
- From: dagl@ur-tut.UUCP (Dave Glowny)
- Subject: ParamText Question
- Date: 13 Sep 87 20:45:37 GMT
- Organization: Univ. of Rochester Computing Center
-
- I'm writing a program (with Lightspeed C) which plots functions, and am
- using a dialog with an editText item to get a string representing the
- function from the user. A default value (the previous function string
- entered by the user, if any) is copied into the item with SetIText.
-
- The problem I've encountered is that when the string contains one of the
- ParamText keys (^0,^1,^2,^3) the ParamText strings are substitued in
- place. For example, if the user enters "x^2" in the f(x) box in my
- dialog, the next dialog invocation will show f(x) with the default value
- of "x", substituting the null string for ^2. (I do use ParamText1 for my
- alerts, but I pass null strings for the other 3 arguments)
-
- Is there any way to disable this substitution process ? I attempted
- ParamText("\P^0","\P^1","\P^2","\P^3"); but this only caused an infinte
- loop of substitution as I observed with TMON.
-
- --
- -------------------------------------------------------------------------------
- David Glowny | Internet: dagl@tut.cc.rochester.edu
- | UUCP: {decvax,cmcl2}!rochester!ur-tut!dagl
- -------------------------------------------------------------------------------
-
-
- ------------------------------
-
- From: sysop@stech.UUCP (Jan Harrington)
- Subject: Laserwriter streaks
- Date: 13 Sep 87 14:37:12 GMT
- Organization: Scholastech, Inc., Waltham, Mass.
-
- The college where I teach has finally gotten around to purchasing some
- Macintosh hardware. Unfortunately, there's a problem with one of the
- Laserwriters. After printing about 10 copies, streaks begin to appear.
- The streaks are about 1" in from the left margin and run the length of
- the page in about a 1/2" strip. They make the output look like a bad
- xerox!
-
- The culprit _seems_ to be a metal strip that, when you open the printer,
- appears on the top half. It is scratched and scored, but feels smooth
- to the touch. The funny thing is, the same bar on other printers is
- also scratched and scored, but none of the others streak the pages.
-
- Has anything like this happened to anyone out there? Any clues as to
- what might be going on?
-
- Jan Harrington, sysop
- Scholastech Telecommunications
- ihnp4!husc6!amcad!stech!sysop
-
- ------------------------------
-
- From: chuq%plaid@Sun.COM (Chuq Von Rospach)
- Subject: Filemaker+ meets Laserwriter 4.0? (also ready set go 4.0)
- Date: 14 Sep 87 04:26:59 GMT
-
- Does anyone know if Forethought (or whoever owns Filemaker+ this week)
- has issued a patch to fix the initialization problems the database has
- when running with Laserwriter 4.0?
-
- Anyone know the details of the Ready Set Go 4.0 upgrade? Things like
- cost and when they're supposed to ship the thing? (and when they will
- REALLY ship it?) For some reason, Letraset hasn't sent me upgrade info,
- even though I know that some folks have seen it...
-
- chuq Chuq Von Rospach chuq@sun.COM Delphi: CHUQ
-
- We live and learn, but not the wiser grow -- John Pomfret (1667-1703)
-
-
- ------------------------------
-
- From: olson@endor.harvard.edu (Eric Olson)
- Subject: Re: ParamText Question
- Date: 14 Sep 87 18:11:45 GMT
- Organization: Aiken Computation Lab Harvard, Cambridge, MA
-
- This is not a solution, but a praise of ParamText. You can't define
- ParamText 1 to be "^1" because it does the substitution in an infinite
- loop. But this is very convenient, since your error function could be:
-
- myerr(errnum,paramnum,errfn)
- long errnum;
- long paramnum;
- char * errfn; {
- char numstr[20];
- char parmstr[20];
- StringHandle errstr;
-
- NumToString(errnum,numstr);
- NumToString(paramnum,parmstr);
- errstr=GetString(errnum);
-
- HLock(errstr);
- ParamText(*errstr,numstr,parmstr,errfn);
-
- do_error_alert();
-
- HUnlock(errstr);
- }
-
- Now, if errnum is -108 and STR -108 is "Out of memory (need ^1 more
- bytes) while ^2.", and the error call is
-
- myerror(-108,needed-got,"\pallocating buffer")
-
- then the dialog will acutally say:
-
- Out of memory (need 28934 more bytes) while allocating buffer.
-
- Similarly, you could have a rangecheck error called like:
-
- myerror(300,value,"\pstart point")
-
- where STR 300 is:
-
- "The value of ^2 (^1) is out of range."
-
- Then the dialog will actually say:
-
- "The value of start point (234) is out of range."
-
- Anyways, I use the ParamText a lot like this and find that, because it
- isn't just a one-level substitution, it's very easy to make error
- messages that look good.
-
- -Eric
-
- Eric K. Olson olson@endor.harvard.edu harvard!endor!olson
-
- ------------------------------
-
- From: stuart@ihlpf.ATT.COM (Stu Ericson)
- Subject: Re: 68030 in MacII
- Date: 14 Sep 87 18:02:56 GMT
- Organization: The Sage Hovel
-
- The difference in pin-outs comes from the fact that they put a subset of
- the 68851 PMMU into the '030. This means they need to have PMMU special
- pins and such. Because the Mac II has a spot for the PMMU, it should be
- easy to wire up a board to map the pins of the '030 into the '020 and
- PMMU socket. In fact, I've heard rumors that Apple people in their labs
- have done this with sample '030s with success.
-
- Stu
-
- --
- Stuart Ericson USnail: AT&T Bell Laboratories
- USENET: ...!ihnp4!ihlpf!stuart IH 6M-313
- voice: (312) 979-4152 Naperville-Wheaton Rd.
- Naperville, Il 60566
-
-
- ------------------------------
-
- From: nakata@Lindy.STANFORD.EDU (Lance Nakata)
- Subject: Beta particle counter
- Date: 14 Sep 87 18:51:10 GMT
- Organization: Academic Information Resources, Stanford University
-
- Does anyone have a suggestion for what microcomputer hardware and
- software might be appropriate for someone who wants to count beta
- particles? The beta particle counter has an RS-232 interface, so it
- looks at though there are many computer choices. I'm hoping some of you
- have done something similar to this and have suggestions on the system
- and software setup that work well. This information is for a person in
- the Medical Microbiology department here at Stanford.
-
- Please send replies to me unless you feel others may have an interest in
- this topic. Thank you.
-
- Lance Nakata ARPA: nakata@lindy.stanford.edu
- Stanford University BITNET: nakata%lindy at stanford.bitnet
- AIR/IRIS CSNET: nakata%lindy.stanford.edu@relay.cs.net
- Sweet Hall, 3rd Floor USENET: {sun,decwrl,hplabs}!lindy.stanford.edu!nakata
- Stanford, CA 94305-3091
- (415)723-5756
-
- ------------------------------
-
- From: carlos@ecsvax.UUCP (C. David Perry)
- Subject: Graphics tablets
- Date: 9 Sep 87 03:13:31 GMT
- Organization: UNC Educational Computing Service
-
- We are considering buying a graphics tablet for a Mac SE. Any
- experiences or advice will be much appreciated.
-
- We are new to the Mac world, so any information, however basic, will be
- helpful. The main application will be tracing maps and other artwork
- for manipulation with Superpaint or similar software.
-
- Since we often have to work with complicated base maps, we think that a
- scanner would include too much extraneous information.
-
- David Perry
- University of North Carolina Press
- (919) 966-3561
- Box 2288
- Chapel Hill, NC 27514
- carlos@ecsvax.bitnet
-
- ------------------------------
-
- From: wmcb@ecsvax.UUCP (William C. Bauldry)
- Subject: Re: New master pointer query.
- Date: 9 Sep 87 13:27:46 GMT
- Organization: UNC Educational Computing Service
-
-
- The query: What is the format of a new master pointer - i.e. where do
- the flags go if the address length is 32 bits ?
-
- In article <232@dbase.UUCP> drc@dbase.UUCP (Dennis Cohen) writes:
- >You address it the same way you did in the past (if you followed Apple's rules)
- >and call routines for HLock, HUnlock, HGetState, HSetState, HSetRBit, HGetRBit,
- >etc. If you want to munge the bits yourself, let your customers beware that
- >the software you produce will almost surely break soon (and it AIN'T Apple's
- >fault, but is yours).
-
- Please don't shoot - i'm not really munging the bits... The problem
- is: I'm passing a dereferenced handle as a parameter to an assembled
- routine - IM II (pg25) and the reference section to the MM chapter say
- use Lo3byte mask to strip off the high order byte that contains the
- flags to leave the address ( in fact my old "phone book" copy of IM has
- a constant AddrMask to do this with ). That's why i'm concerned about
- the new address length - so that the software won't break (i don't want
- it to be my fault either).
- BTW - thanks for answering - i should have been more explicit in the
- request.
-
- -Bill
-
-
- ------------------------------
-
- From: briand@tekig4.TEK.COM (Brian Diehm)
- Subject: Anyone Have ROvr 0? (Was Replacing system fonts)
- Date: 11 Sep 87 18:25:22 GMT
- Organization: Tektronix Inc., Beaverton, Or.
-
- This is only part of the solution. The ROv# resource may have any ID
- number, but its first entry, a Version number, must be the machine ID
- (i.e. 117, 630, or 376). You will see the Version entry if you use
- ResEdit to create your ROv# resource.
-
- However, the kicker is that this also requires an ROvr resource as well.
- The system checks for an ROvr resource 0 each time the ROM map is
- rebuilt. The ROvr 0 resource is then (if it exists) JSRd to, where it
- (the ROvr resource code) checks for any and all ROv# resources with the
- proper Version number.
-
- So, how do you get a working ROvr 0? Clever hackers write one on the
- spot. The rest of us, says IM Vol IV, "write to Apple" and you can get
- one. My question is, does anyone on the net have one of these, and
- would they be willing to post it in BinHex 4.0? Or even mail it to me
- and the original poster? Or do I, as a non-registered non-developer,
- have to beg from the "big yup" in Cupertino?
-
- --
- -Brian Diehm (SDA - Standard Disclaimers Apply)
- Tektronix, Inc.
- briand@tekig4.TEK.COM or {decvax,cae780,uw-beaver}!tektronix!tekig4!briand
-
-
- ------------------------------
-
- From: psych@watdcsu.waterloo.edu (R.Crispin - Psychology)
- Subject: Re: Button hilighting in HyperTalk
- Date: 14 Sep 87 21:12:32 GMT
- Organization: Psychology Department
-
- Use the following message handler to only hilite buttons
-
- on mouseenter
- if "button" is in the target then set hilite of the target to true
- end mouseenter
-
- on mouseleave
- if "button" is in the target then set hilite of the target to false
- end mouseleave
-
- Richard Crispin
- Dept. of Psychology
- University of Waterloo
- Waterloo, Ont.
- Canada N2L 3G1
- (519)885-1211 ext 2879
-
- ------------------------------
-
- From: keith@apple.UUCP (Keith Rollin)
- Subject: Re: Button hilighting in HyperTalk
- Date: 15 Sep 87 01:09:11 GMT
- Organization: Apple Computer Inc., Cupertino, USA
-
- The function "target" returns a string that can be used to identify what
- object is getting the system message. In the case of a button getting
- hit, "the target" would contain something like "card button id <number>"
- or "bkgrnd button id <number>". Check this string for the work button,
- and you're set.
-
- on mouseEnter
- if the second word of the target is "button" then
- set hilite of the target to true
- end if
- end mouseEnter
-
- --
-
- Keith Rollin
- Sales Technical Support
- Apple Computer
-
- Disclaimer: I read this board as a genuinely concerned Mac-Head. Any views
- expressed are my own until my boss finds out what I'm doing.
- However, that doesn't mean I can't recognize a good idea and
- do something about it...
-
-
- ------------------------------
-
- From: dwb@apple.UUCP (David W. Berry)
- Subject: Re: Avoiding menu metacharacters
- Date: 15 Sep 87 01:17:00 GMT
- Organization: Apple Computer Inc., Cupertino, USA
-
- In the original call to AppendMenu use a dummy string and
- then use SetItem to set the actual text.
-
- AppendMenu(mh, "\pFoo;Bar;dummy");
- SetItem(mh, 3, "\p(!</(");
-
- Of course this makes it more difficult to get menu's
- from resources.
-
- --
- David W. Berry
- dwb@well.uucp dwb@Delphi
- dwb@apple.com 293-0752@408.MaBell
-
-
- ------------------------------
-
- From: tomc@mntgfx.MENTOR.COM (Tom Carstensen)
- Subject: Desktop Drawing
- Date: 14 Sep 87 22:34:00 GMT
- Organization: Mentor Graphics, Beaverton OR
-
- I wish to implement something functionally like the icons on the Finders
- desktop, and I am currently doing it this way:
-
- - traversing the list of windows, subtracting each visible
- window's rectangle from the icon rectangles region
-
- - Use this new region as the clip region
-
- - and then drawing the icon on the desk port.
-
- and I do this for each icon.
-
- Does anybody know of a better way to implement such functionality?
-
- :------------------------------------------------------------:
- : Tom Carstensen Usenet: tomc@mntgfx.MENTOR.COM :
- : Mentor Graphics GEnie: :
- :------------------------------------------------------------:
-
- ------------------------------
-
- From: tomc@mntgfx.MENTOR.COM (Tom Carstensen)
- Subject: Getting a windows position
- Date: 14 Sep 87 22:37:50 GMT
- Organization: Mentor Graphics, Beaverton OR
-
- Is it always reliable to use a windows portBits.bounds, left and top
- field to determine the windows upper left portRect position on the
- screen. (that the -(left) and -(right) since the bounds rect of offset
- negatively)
-
- :------------------------------------------------------------:
- : Tom Carstensen Usenet: tomc@mntgfx.MENTOR.COM :
- : Mentor Graphics GEnie: :
- :------------------------------------------------------------:
-
- ------------------------------
-
- End of Usenet Mac Digest
- ************************
- -------
- -------
-